//
//  OHttpCode.h
//  Onet
//
//  Created by 上官千城 on 15/9/18.
//  Copyright (c) 2015年 上官千城. All rights reserved.
//

#ifndef Onet_OHttpCode_h
#define Onet_OHttpCode_h

#define CODE_OK 200
#define SUCC 0
#define FAIL 1
#define SERVER_ERROR 100
#define SERVER_EXCEPTION 101
#define USER_EXIST 2001
#define USER_NOT_EXIST 2002
#define USER_PWD_ERROR 2003
#define APP_AUTH_FAIL_1 5001
#define APP_AUTH_FAIL_2 5002
#define APP_AUTH_FAIL_3 5003
#define PLATFORM_ACCESS_ERROR 5050
#define IM_ACCESS_ERROR 5051
#define DB_ACCESS_ERROR 5052
#define PARAM_ERROR_1 5099
#define PARAM_ERROR 5100
#define SESSION_EXPIRE 5101
#define FRIEND_NOT_EXSIT 5102
#define FRIEND_EXSIT 5103
#define FRIEND_OWNER_ADD 5104

#endif
